home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bible Heaven
/
Bible Heaven.iso
/
olgreek2
/
floppy.bat
< prev
next >
Wrap
DOS Batch File
|
1989-12-09
|
6KB
|
162 lines
echo off
cls
echo
echo ╔═════════════════════════════════════════════════╗
echo ╚══════╕ Online Greek Textus Receptus Files ╒═════╝
echo └─────┐ Floppy Disk Installation┌────┘
echo └─────────────────────────┘
echo
echo This program will install the Online Greek files onto
echo (4) four 360k floppy disks.
echo
echo The distribution disks must be placed in drive A: and
echo the destination floppys in drive B: Four blank formatted
echo 360k floppys will be required for this process. If you
echo have only a single drive, you must use the HARDDISK
echo installation procedure instead of this one.
echo
echo If you do not wish to carry out the installation process,
echo press CTRL-BREAK now and restart at your convenience later.
echo
echo Your target floppys should have no bad sectors, else
echo installation may not be successful. If you do NOT have
echo good, clean formatted floppys, exit this program by pressing
echo CTRL-BREAK now.
echo
echo Press any other key to continue the installation process...
pause > nul
cls
echo
echo The installation program will extract the Greek New
echo Testament Textus Receptus files from each archive file
echo (GREEK-1.GRK to GREEK-4.GRK) on the distribution disk
echo to each floppy (one target disk per archive file). These
echo files have been compressed using the LHARC method, and
echo are self-extracting.
echo
echo If you see any error messages (CRC or other errors) during
echo the installation process, press CTRL-BREAK to terminate,
echo and begin anew.
echo
echo Note that the files will be extracted in the alphabetical
echo order of each archive and NOT in the order of the Biblical
echo books (e.g, MARK unarchives before MATTHEW and JOHN before
echo LUKE, etc.). All New Testament files will be present after
echo successful installation.
:begin1
echo
echo If ready, insert distribution disk 1 into drive A: and
echo target floppy 1 into drive B:, and press any key to begin
echo automatic installation.
pause > nul
cls
b:
cd\
if exist b:floppy.bat goto error1
if exist a:greek-3.exe goto error00
copy a:gr*.doc
copy a:re*.doc
a:greek-1
:begin2
echo
echo Insert target floppy 2 into drive B: - Press any key to continue...
echo
pause > nul
b:
cd\
if exist b:floppy.bat goto error2
if exist a:greek-3.exe goto error01
if exist b:mark-01.tr goto error3
a:greek-2
:begin3
echo
echo Insert distribution disk 2 into drive A:
echo Insert target disk 3 into drive B:
echo Press any key to continue....
echo
pause > nul
b:
cd\
if exist b:floppy.bat goto errorY
if exist a:greek-1.exe goto error02
if exist b:mark-01.tr goto error4
if exist b:john-01.tr goto :error4
a:greek-3
:begin4
echo
echo Insert target disk 4 into drive B: and press any key to continue....
echo
pause > nul
b:
cd\
if exist b:floppy.bat goto errorZ
if exist a:greek-1.exe goto error03
if exist b:mark-01.tr goto error5
if exist b:john-01.tr goto error5
if exist b:1cor-01.tr goto error5
a:greek-4
echo
echo All Greek New Testament Textus Receptus files have now been
echo copied to their target floppies. You may now view the files
echo by reinserting distribution disk 1 into drive A: and typing
echo A:LIST B:{filename} and pressing {ENTER} or by using any other
echo ASCII file viewer or most word processors.
echo
echo Press any key to exit the installation program.
echo
echo ╔═══════════════════════════════════════════════════════╗
echo ║ Enjoy the ONLINE GREEK NT TEXTUS RECEPTUS ! ║
echo ╚═══════════════════════════════════════════════════════╝
pause > nul
goto end
:error00
echo The wrong disk is in Drive A: -- Make sure Distribution
echo Disk 1 is in Drive A: and a BLANK formatted floppy is in
echo drive B:
goto begin1
:error01
echo The wrong disk is in Drive A: -- Make sure Distribution
echo Disk 1 is in Drive A: and a BLANK formatted floppy is in
echo drive B:
goto begin2
:error1
echo The wrong disk is in Drive B: -- Make sure Distribution
echo Disk 1 is in Drive A: and a BLANK formatted floppy is in
echo drive B:
goto begin1
:error2
echo The wrong disk is in Drive B: -- Make sure Distribution
echo Disk 1 is in Drive A: and a BLANK formatted floppy is in
echo drive B:
goto begin2
:errorY
echo The wrong disk is in Drive B: -- Make sure Distribution
echo Disk 2 is in Drive A: and a BLANK formatted floppy is in
echo drive B:
goto begin3
:errorZ
echo The wrong disk is in Drive B: -- Make sure Distribution
echo Disk 2 is in Drive A: and a BLANK formatted floppy is in
echo drive B:
goto begin4
:error02
echo Distribution disk 1 is in Drive A: -- Replace with
echo Distribution disk 2 before continuing.
goto begin3
:error03
echo Distribution disk 1 is in Drive A: -- Replace with
echo Distribution disk 2 before continuing.
goto begin4
:error3
echo Target disk 1 still in Drive B: -- Replace with Target
echo Disk 2 before attempting to continue.
goto begin2
:error4
echo Target disk 1 or 2 still in Drive B: -- Replace with Target
echo Disk 3 before attempting to continue.
goto begin3
:error5
echo Target disk 1,2,or 3 still in Drive B: -- Replace with Target
echo Disk 4 before attempting to continue.
goto begin4
:end